package com.oazon.moco.lan.core.http.bean;

public class JsonRequest {

	private String operation = "";
	private String classification = "";
	private String type = "";
	private Object data;
	private String uuid = "";
	private static int sid = 0;

	public JsonRequest() {
		sid++;
		if (sid > Integer.MAX_VALUE) {
			sid = 0;
		}
	}

	public int getSid() {
		return sid;
	}

	public void setSid(int sid) {
		JsonRequest.sid = sid;
	}

	public String getUuid() {
		return uuid;
	}

	public void setUuid(String uuid) {
		this.uuid = uuid;
	}

	public String getClassification() {
		return classification;
	}

	public void setClassification(String classification) {
		this.classification = classification;
	}

	public String getOperation() {
		return operation;
	}

	public void setOperation(String operation) {
		this.operation = operation;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public Object getData() {
		return data;
	}

	public void setData(Object data) {
		this.data = data;
	}
	
	@Override
	public String toString() {
		return "type=="+type+"data="+data.toString();
	}
}
